package com.cpj.bsyyzx.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author 五个臭皮匠
 * @since 2021-04-27
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class Account implements Serializable {

    private static final    long serialVersionUID = 1L;

    /**
     * 账号编号
     */
    @TableId(value = "acc_id", type = IdType.AUTO)
    private Integer accId;

    /**
     * 用户名
     */
    private String username;

    /**
     * 密码
     */
    private String password;

    /**
     * 盐
     */
    private String salt;

    /**
     * 角色
     */
    private String role;

    /**
     * 所属员工
     */
    private String staffName;


}
